# # %用于字符串格式瓜
# name = "kijlee"
# age = 30
# print("my name is %s" % name)
# message = "my name is %s"
# print(message % name)
# message1 = "my name is %s,my age is %d"
# print(message1 % (name, age))
# print("my name is %s ,my age is %d" % (name, age))
# print("my name is %s ,my age is %d" % ("kijlee", 30))
# print("my name is %s ,my age is %s" % ("kijlee", 30))
# print("my name is %(name)s ,my age is %(age)s" % {"name": "kijlee", "age": 30})
# print("女星%s全集下载了%d%%" % ("Rio",89))

# # format 格式化字符串
# print("my name is {},my age is {}, 中文名叫{}".format(name, 30, 50))
# print("my name is {0},my age is {1}, 中文名叫{0}".format(name, 30, 50))
# text = "my name is {0},my age is {1}, 中文名叫{0}"
# print(text.format(name, 30, 50))
# print("my name is {n1},my age is {n2}, 中文名叫{n3}%s的".format(n1=name, n2=30, n3=50))

# # f格式化字符串
# name = "kijlee"
# print(f"我的名字是{name}")
# print(f"里面可以输出公式等{19+4}")
# print(f"里面可以输出公式函数等等后面加=好直接连公式都输出{19+4=}")
# print(f"里面可以输出公式函数等等后面加=好直接连公式都输出kijlee转大写={name.upper()}")
# age = 1024
# print(f"还可以输出进制转换={age:#d}")
# print(f"还可以输出进制转换={age:#b}")
# print(f"还可以输出进制转换={age:#o}")
# print(f"还可以输出进制转换={age:#x}")
